package cn.graydove.bot.service;

import cn.graydove.bot.model.entity.Advance;

public interface AdvanceService {

    String createActivationCode(long validityTime);

    boolean activate(long groupNumber, String code);

    boolean isActivated(Long groupNumber);

    boolean isActivated(Advance advance);

    void addImageNumber(long groupNumber);

    void ebbImageNumber(long groupNumber);

    Advance findOrCreateByGroupNumber(Long groupNumber);

    void clearImg();
}
